package kuzha.ast;
import kuzha.runtime.CasePattern;

public class CaseElement extends Node {
	public final CasePattern pattern;
	public final Statement stt;
	
	public CaseElement(CasePattern pattern, Statement stt) {
		this.pattern = pattern;
		this.stt = stt;
	}
	
	@Override
	public void accept(AstVisitor visitor) {
		visitor.visit(this);
	}
	@Override
	public <A, R> R accept(AstVisitor2<A, R> visitor, A object) {
		return visitor.visit(this, object);
	}
}
